<?php


namespace app\model;


class Order extends BaseModel
{
    public function DepositStatus(){
        return $this->hasOne(DepositStatus::class , 'id' , 'pay_id');
    }

    public function Room(){
        return $this->hasOne(Room::class , 'id' , 'room_id');
    }

    public function UsingRoomTime(){
        return $this->hasOne(UsingroomTime::class , 'id' , 'usingroom_time_id');
    }
}
